<template>
  <div id="topTitleDiv">
    <div class="prop">
      <h1>{{msg}}</h1>
      <h1>{{msgfromfather}}</h1>
      <button v-on:click="onclickMe">click!</button>
      </div>
  </div>
</template>

<script>
  export default {
    data :function() {
      return {
        msg:'hello,ywx'
      }
    },
    props:['msgfromfather'],

  }
</script>

<style scoped>
  html{
    font-size: 100%;
  }
  a{
    text-decoration: none;
  }
  #topTitleDiv{
    text-align: left;
    background-color: white;
  }
  #schoolImg{
    width: 25rem;
    height: 4rem;
    border-right: 0.1rem solid whitesmoke;
    padding: 0.5rem;
  }
  #schoolName{
    color: grey;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    bottom: 2rem;
  }
  #userExitDiv{
    float: right;
    display: flex;
    align-items: flex-end;
    position: relative;
    top: 1rem;
  }
  #user{
    color: black;
    text-decoration: none;
    font-size: 1rem;
  }
  #exitImg{
    position: relative;
    top: 0.75rem;
    width: 2rem;
    height: 2rem;
  }
  @media screen and (max-width:1023px){
    html{
      font-size: 56%;
    }
  }
</style>
